package com.haojin.java1;

import java.io.Serializable;

/**
 * @author .29.
 * @create 2022-04-19 7:27
 */
public class Creature<T> implements Serializable {
    private char gender;
    public double weight;

    private void breath(){
        System.out.println("呼吸");
    }
    public void eat(){
        System.out.println("吃东西");
    }
}
